package com.gugee.ins.common.model.mysql.media;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "ins_media")
@Data
public class InsMedia {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 帖子id
     */
    private String mid;

    /**
     * 博主id
     */
    @TableField(value = "owner_uid")
    private Long ownerUid;

    /**
     * 帖子编码
     */
    private String shortcode;

    /**
     * 封面地址
     */
    @TableField(value = "display_url")
    private String displayUrl;

    /**
     * 是否视频
     */
    @TableField(value = "is_video")
    private Boolean isVideo;

    /**
     * 是否赞助帖
     */
    @TableField(value = "is_sponsored")
    private Boolean isSponsored;

    /**
     * 视频地址
     */
    @TableField(value = "video_url")
    private String videoUrl;

    /**
     * 视频观看人数
     */
    @TableField(value = "video_view_count")
    private Long videoViewCount;

    /**
     * 视频播放数
     */
    @TableField(value = "video_play_count")
    private Long videoPlayCount;

    /**
     * 视频长度
     */
    @TableField(value = "video_duration")
    private Double videoDuration;

    /**
     * 标题
     */
    private String caption;

    /**
     * 评论数
     */
    @TableField(value = "comment_count")
    private Integer commentCount;

    /**
     * 点赞数
     */
    @TableField(value = "like_count")
    private Long likeCount;

    /**
     * 是否不能评论
     */
    @TableField(value = "comments_disabled")
    private Boolean commentsDisabled;

    /**
     * 帖子发表时间戳
     */
    @TableField(value = "taken_time")
    private Long takenTime;

    /**
     * 地点id
     */
    @TableField(value = "location_id")
    private Long locationId;

    /**
     * 地点
     */
    @TableField(value = "location_name")
    private String locationName;


    /**
     * 帖子类型
     */
    private String typename;

    /**
     * 帖子来源类别
     */
    @TableField(value = "product_type")
    private String productType;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    /**
     * 采集评论数
     */
    @TableField(value = "collect_comments_count")
    private Long collectCommentsCount;

    /**
     * 最近评论采集时间时间
     */
    @TableField(value = "last_comment_collect_time")
    private Long lastCommentCollectTime;

    /**
     * 是否是广告帖(0:未分析,1:是,2:否)
     */
    @TableField(value = "is_ad")
    private Integer isAd;

    /**
     * 参与率
     */
    private Double er;

    /**
     * 最近帖子采集时间
     */
    @TableField(value = "last_collect_time")
    private Long lastCollectTime;

    /**
     * 帖子分数
     */
    private Double score;

    /**
     * 帖子带货类型(0:没带货,1:为自己带货,2:为他人带货,3:两种带货类型都有)
     */
    @TableField(value = "product_tag_type")
    private Integer productTagType;

    /**
     * 最近更新帖子分数时间
     */
    @TableField(value = "last_analysis_score_time")
    private Long lastAnalysisScoreTime;
}